<%@page import="member.MemberVo"%>
<%@page import="java.util.ArrayList"%>
<%@page import="member.MemberMyba"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>list(회원목록)</title>
</head>
<body>
<jsp:useBean id="memberVo" class="member.MemberVo"/>
<jsp:setProperty property="*" name="memberVo"/>
<%
	MemberMyba member = new MemberMyba();
	member.setMemberVo(memberVo);
	ArrayList<MemberVo> data = member.list();
%>
<form name='member_list' method='post' action='list.jsp'>
	<input type='serach' name='find' value='<%=memberVo.getFind() %>'>
	<input type='submit' value='검색'>
</form>
<hr/>

<%
for(int i=0; i<data.size(); i++){
	MemberVo v = data.get(i);
	out.print("<div>");
	out.print("<a href='view.jsp?memberid=" + v.getMemberid() + "'>" + v.getMemberid() + "</a>," + v.getIrum());
	out.print("</div>");
	
}
%>


</body>
</html>